package com.rc.evcharger.service.elec;

import com.rc.evcharger.common.base.BaseService;
import com.rc.evcharger.common.type.ElecStationPriceData;
import com.rc.evcharger.mapper.elec.ElecStationPriceMapper;
import com.rc.evcharger.model.elec.ElecStationPrice;
import com.rc.evcharger.model.elec.ElecStationPriceExample;
import com.rc.evcharger.model.order.OrderInfo;

import java.util.Date;
import java.util.List;

/**
 * Created by sven on 2019/09/23.
 */
public interface ElecStationPriceService extends BaseService<Long, ElecStationPrice, ElecStationPriceExample, ElecStationPriceMapper> {

    ElecStationPrice selectValidElecStationPrice(Long elecStationId);

    ElecStationPrice selectRedValidElecStationPriceByDate(String ruta, String gunNum, String orderNum, Date date);

    ElecStationPrice selectHlhtValidElecStationPrice(Long elecStationId, OrderInfo orderInfo);

    List<ElecStationPrice> listByStationId(Long elecStationId);

    List<ElecStationPrice> listByStationIdAndCurrent(Long elecStationId);

    List<ElecStationPriceData> listElecStationPriceDataByStationId(Long elecStationId);

    ElecStationPrice selectValidElecStationPriceByDate(Long elecStationId,Date date);

}
